﻿using System.Web.Mvc;
using Ditto.Helpers;

namespace Ditto.Models {
    public class ItemFormViewModel {
        
        public Item Item { get; private set; }
        public SelectList Countries { get; private set; }

        public ItemFormViewModel(Item item)
        {
            Item = item;
            Countries = new SelectList(PhoneValidator.Countries, Item.Country);
        }
    }
}
